/*
 * Created by LiuYou on 2020/12/8.
 *
 */

#include "SalesOrder.hpp"

SalesOrder::SalesOrder::SalesOrder(Tax tax) : tax(tax) {}

double SalesOrder::SalesOrder::calculateTax() {
    // ...
    double value;

    if (tax == Tax::CN_TAX) {
        // CN**********
    } else if (tax == Tax::US_TAX) {
        // US**********
    }
    // ...


    return value;
}
